@import "mixins/mixins";
@import "common/var";
@import "_main";
@include b(index) {
  page {
    height: 100%;
    width: 100%;
    background: #ffffff;
  }
  @include e(header) {
    display: flex;
    width: 100vw;
    margin: 3px 0 10px 0;
    image {
      width: 17px;
      height: 19px;
      margin-right: 5px;
    }
    p {
      font-size: 15px;
      color: $--color-31;
    }
  }
  @include e(left-header) {
    margin-left: 10px;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    width: 70px;
  }
  @include e(right-header) {
    width: 271px;
    height: 30px;
    background-color: #ebecee;
    margin: 0 auto;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    &>div {
      width: 100px;
      height: 100%;
      display: flex;
      display: -webkit-flex;
      align-items: center;
      margin: 0 auto;
      &>p {
        color: #b3b3b3;
        font-size: 13px;
        line-height: 1;
      }
    }
    img {
      width: 15px;
      height: 15px;
    }
  }

  @include e(banner) {
    swiper {
      width: 100vw;
      height: 150px;
    }

    image {
      width: 100%;
      height: 150px;
    }
  }

  @include e(menu) {
    margin-top: 18px;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;

    font-size: 12px;
    color: #696969;

    img {
      width: 42px;
      height: 42px;
    }

    navigator {
      flex: 25%;
      margin: 5px 0;
    }
  }

  @include e(ad) {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    justify-content: space-around;
    width: 730rpx;
    margin: 25px 10rpx 20px 10rpx;
    height: auto;

    navigator {
      width: 174px;
    }

    image {
      width: 100%;
      height: 97px;
      overflow: hidden;
    }
  }

  @include e(list) {
    width: 100%;

    @include m(header) {
      display: flex;
      display: -webkit-flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      margin-top: 15px;
      p {
        margin-left: 10px;
        flex: 1;
        font-size: 17px;
        color: #191919;
        font-weight: 900;
      }

      navigator {
        display: flex;
        display: -webkit-flex;
        align-items: center;
        height: 100%;
        margin-right: 10px;

        p {
          line-height: 1;
          font-size: 13px;
          color: #8a8a8a;
          font-weight: 400;
        }
      }

      image {
        width: 17px;
        height: 17px;
      }
    }

    @include m(banner) {
      margin: 15px 10px 13px 10px;
      image {
        width: 100%;
        height: 130px;
      }

      p {
        font-size: 17px;
        color: #292929;
      }
    }
  }

  @include e(seperate) {
    width: 100%;
    height: 10px;
    background-color: #f3f3f3;
  }

  @include e(listwrap) {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 10px;
    justify-content: space-around;
  }
  @include e(item) {
    flex: 0 0 50%;
    text-align: center;
    margin-bottom: 23px;
    image {
      width: 173px;
      height: 102px;
      border-radius: 10px;
    }

    p {
      font-size: 15px;
      color: #292929;
      text-align: left;
      padding: 0 10px;
    }
  }
}
